package io.gitee.zicai.swagger.butler

import com.didispace.swagger.butler.EnableSwaggerButler
import de.codecentric.boot.admin.server.config.EnableAdminServer
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.cloud.client.discovery.EnableDiscoveryClient

/**
 * SwaggerButlerApplication
 *
 * @author zicai
 * @since 2018-06-22
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableSwaggerButler
@EnableAdminServer
open class SwaggerButlerApplication {

    companion object {
        @JvmStatic
        fun main(args: Array<String>) {
            SpringApplication.run(SwaggerButlerApplication::class.java, *args)
        }
    }
}
